<nz-radio-group [(ngModel)]="lj">
  <label nz-radio-button [nzValue]="'bclj'">本次路径</label>
  <label nz-radio-button [nzValue]="'lslj'">历史路径</label>
</nz-radio-group>

<div *ngIf="lj==='bclj'">
  <sf #sf mode="search" [schema]="editSchema" button="none" [formData]="editData"></sf>
  <div nz-row nzGutter="70">
     <div nz-col nzSpan="4" style="margin-left: 20px; display: flex; flex-direction: column; justify-content: start;">
       <div class="jb">
         <span>心血管危险因素</span>
          <nz-switch [(ngModel)]="xxgwxys" style="margin-left: 22px;"></nz-switch>
       </div> 
       <div class="jb">
        <span>存在靶器官损害</span> 
        <nz-switch [(ngModel)]="czbqgsh" style="margin-left: 22px;"></nz-switch>
      </div> 
      <div class="jb">
        <span>是否存在临床疾病</span> 
        <nz-switch [(ngModel)]="sfczlcjb" style="margin-left: 10px;"></nz-switch>
      </div> 
      <div class="jb" style="display: flex; flex-direction: row; ">
        <div style="vertical-align: top;">评估分类</div>
        <div>
          <input type="text" nz-input [ngModel]="" style="width: 80px; margin-left: 20px;"/>
        </div>
        
        
      </div> 
        
     </div>
 
     <div nz-col nzSpan="18" style="margin-top: 16px;">
       <div>
         <div>
          <span>是否变异</span> <nz-switch [(ngModel)]="sfby" style="margin-left: 10px;"></nz-switch>
         </div>
         
         <nz-checkbox-wrapper style="width: 100%; margin-top: 10px;" (nzOnChange)="log($event)">
          <div nz-row>
            <div nz-col nzSpan="8"><label nz-checkbox nzValue="A">连续两次随访血糖血压不满意</label></div>
            <div nz-col nzSpan="16"><label nz-checkbox nzValue="B">连续两次随访药品不良反应未改善</label></div>
            <div nz-col nzSpan="8"><label nz-checkbox nzValue="C">有新的并发症出现或原有并发症加重</label></div>
            <div nz-col nzSpan="16"><label nz-checkbox nzValue="D">儿童和青少年(年龄<18岁)糖尿病患者</label></div>
            <div nz-col nzSpan="8"><label nz-checkbox nzValue="E">妊娠和哺乳期妇女血糖异常者</label></div>
            <div nz-col nzSpan="16"><label nz-checkbox nzValue="F">原因不明或经基层医生处理后仍反复发生低血糖者</label></div>
            <div nz-col nzSpan="8"><label nz-checkbox nzValue="G">首诊不明确</label></div>
            <div nz-col nzSpan="16"><label nz-checkbox nzValue="H">出现危急情况，处理后转诊</label></div>
          </div>
        </nz-checkbox-wrapper>
      
       </div>
       
   <div>
     变异历史
    <nz-card>
     <p>1、伴心衰</p>
     <p>2、</p>
     <p>3、</p>
      </nz-card>
   </div>
     </div>
   </div>
 
   <!-- <lb-grid #st [columns]="yhColumns" [sname]="params.sname" [queryparas]="params.queryparas" [page]="page">
     <ng-template  lb-row="custom" let-item let-index="index" let-column="column">
       <label nz-checkbox ngModel="false" (ngModelChange)="change(item,$event)"></label>
     </ng-template>
   </lb-grid> -->
 
   <div>
    <div>
      <st #ypst [columns]="ypColumns" [data]="ypData" (change)="ypChange($event)" bordered="true" [page]="{show: false}"></st>
    </div>

   <div style="margin-top: 5px;">
    <st #zlst [columns]="zlColumns" [data]="zlData" (change)="zlChange($event)" bordered="true" [page]="{show: false}"></st>
   </div>
   </div>
  
 <div style="margin-top: 5px;text-align: right;">
  <button nz-button type="submit" [nzType]="'primary'" (click)="show()">展示已选项</button>
   <button nz-button type="submit" [nzType]="'primary'" (click)="next()">下一步</button>
   <button nz-button type="submit" [nzType]="'default'" (click)="cancel()">取消  </button>
 </div>
</div>

<div *ngIf="lj==='lslj'">
  <div nz-row>
    <div nz-col nzSpan="18">
      <sf #sersf button="none" mode="search" [schema]="serSchema"></sf>
    </div>
    <div  nz-col nzSpan="6" style="text-align:right;padding-top: 5px;">
      <button (click)="query()" nz-button nzType="primary">搜索</button>
    </div>
  </div>

  <div nz-row style="margin-top: 10px;" nzGutter="20">
    <div nz-col nzSpan="12">
      <button nz-button type="submit" nzShape="round">历史路径</button>
      <st #lsljst [columns]="lsljColumns" [data]="lsljData" bordered="true" [page]="'{show: false}'"></st>
    </div>

    <div nz-col nzSpan="12">
      <nz-radio-group [(ngModel)]="yz">
        <label nz-radio-button [nzValue]="'lsyz'">历史医嘱</label>
        <label nz-radio-button [nzValue]="'jkcf'">健康处方</label>
      </nz-radio-group>
      <st #lsyzst [columns]="lsyzColumns" [data]="lsyzData"  bordered="true" [page]="'{show: false}'"></st>

      <st #jkcfst [columns]="jkcfColumns" [data]="jkcfData"  bordered="true" [page]="'{show: false}'"></st>
    </div>
  </div>

  <div style="margin-top: 5px;text-align: right;">
    <button nz-button type="submit" [nzType]="'primary'" (click)="return()">返回</button>
    <button nz-button type="submit" [nzType]="'default'">关闭</button>
  </div>
</div>
 
  


  

  

  